import request from '@/utils/request.js'

/**
 * 
 *订阅
 * */
 export function subscribe(data,isSub=1){
	 let url='/subscribe/index'
	 if(isSub!=1){
		 url="/subscribe/cancel"
	 }
	 return request({
		 url,
		 method:"post",
		 data
	 })
 }
 
